import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

import "./assets/normalize.css";
import "@/assets/fontawesome-free-5.15.4-web/fontawesome-free-5.15.4-web/css/all.min.css";

Vue.config.productionTip = false;

// 初始化时检查用户登录状态
store.dispatch("checkAuth");

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
